package com.zatech.cgnci.project.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zatech.cgnci.project.dto.CgnciReinsurerConcentrationDTO;
import com.zatech.cgnci.project.entity.CgnciReinsurerConcentrationDO;
import com.zatech.cgnci.project.mapper.CgnciReinsurerConcentrationMapper;
import com.zatech.cgnci.project.service.CgnciReinsurerConcentrationService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zatech.cgnci.project.vo.CgnciReinsurerConcentrationVO;
import com.zatech.cgnci.project.vo.CgnciReinsurerRatingVO;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 转分再保人集中度 服务实现类
 * </p>
 *
 * @author Generator
 * @since 2025-06-05
 */
@Service
public class CgnciReinsurerConcentrationServiceImpl extends ServiceImpl<CgnciReinsurerConcentrationMapper, CgnciReinsurerConcentrationDO> implements CgnciReinsurerConcentrationService {

    @Override
    public IPage<CgnciReinsurerConcentrationVO> pageConcentration(CgnciReinsurerConcentrationDTO dto) {
        return this.baseMapper.pageConcentration(dto.toPage(),dto);
    }
}
